package com.ytkj.digitalConstruction.httpbean.user.req;

import java.util.List;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 钉钉用户
 * @author iking
 *
 */
public class ReqDingUser {

	/**
	 * 用户id(企业内唯一)
	 */
	@NotNull(message = "字段不允许为空")
	@NotBlank(message = "用户名不能为空")
	private Integer userid;
	
	/**
	 * 用户名称
	 */
	@NotNull(message = "字段不允许为空")
	@NotBlank(message = "用户名不能为空")
	private String name;
	
	/**
	 * 用户所在部门
	 */
	@NotNull(message = "字段不允许为空")
	@NotBlank(message = "用户名不能为空")
	private List<Integer> department;
	
	private Boolean isManager;
	/**
	 * 职位名称
	 */
	private String position;
	
	/**
	 * 手机号码(企业内唯一)
	 */
	@NotNull(message = "字段不允许为空")
	@NotBlank(message = "用户名不能为空")
	private String mobile;
	
	/**
	 * 备注
	 */
	private String remark;
	
	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Integer> getDepartment() {
		return department;
	}

	public void setDepartment(List<Integer> department) {
		this.department = department;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Boolean getIsManager() {
		return isManager;
	}

	public void setIsManager(Boolean isManager) {
		this.isManager = isManager;
	}
}
